﻿namespace D.Host.ViewModels
{
    public class QuerySysOrgViewModel
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        public string Name { get; private set; }

        /// <summary>
        /// 部门编码
        /// </summary>
        public string Code { get; private set; }

        /// <summary>
        /// 部门负责人
        /// </summary>
        public Guid? SysAdminId { get; private set; }

        /// <summary>
        /// 办公室位置
        /// </summary>
        public string Location { get; private set; }

        /// <summary>
        /// 上级部门ID
        /// </summary>
        public Guid? ParentId { get; private set; }

        /// <summary>
        /// 部门描述
        /// </summary>
        public string Descption { get; private set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; private set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; private set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string Creater { get; private set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string Updater { get; private set; }

        /// <summary>
        /// 是否主组织
        /// </summary>
        public bool IsMain { get; private set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; private set; }
    }
}
